import request from '@/config/axios'
/**
 * 分页查询药品缴存
 */
export const pageQuery = (params) => {
  return request.get({ url: '/health/medicine-deposit/page-query', params })
}

/**
 * 批量创建药品缴存
 */
export const create = (data) => {
  return request.post({ url: '/health/medicine-deposit/create', data })
}

/**
 * 获取单个老人的药品
 */
export const getElderMedicine = (elderId) => {
  return request.get({ url: '/health/medicine-deposit/get-elder-medicine?elderId=' + elderId })
}
